// src/router/routes.ts
import { RouteRecordRaw } from 'vue-router';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Home',
    component: () => import('@/pages/index.vue'),
    meta: { title: '首页' }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/pages/login.vue'),
    meta: { title: '登录' }
  },
  {
    path: '/video',
    name: 'video',
    component: () => import('@/pages/video.vue'),
    meta: { title: '视频' }
  },
  {
    path: '/feedback',
    name: 'feedback',
    component: () => import('@/pages/feedback.vue'),
    meta: { title: '反馈' }
  },
  {
    path: '/person',
    name: 'person',
    component: () => import('@/pages/person.vue'),
    meta: { title: '个人中心' }
  },
  {
    path: '/test',
    name: 'test',
    component: () => import('@/pages/test.vue'),
    meta: { title: '测试页面' }
  },
  {
    path: '/wait',
    name: 'wait',
    component: () => import('@/pages/wait/index.vue'),
    meta: { title: '是否参与面试' }
  },
  // 其他路由配置
];

export default routes;